Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference / Application-Defined Functions
/


MyShowDocument

Displays the contents of a URL passed back by an instantiated applet. When calling JMNewAppletViewer, you must designate this function in the applet callbacks structure. For example, this is how you would define your output function if you were to name it MyShowDocument:

void MyShowDocument(JMAppletViewerRef viewer, 
const char* urlString, 
Boolean inNewWindow);
viewer
The current applet.
urlString
The URL passed by the applet.
inNewWindow
A Boolean value. If true, you should display the URL contents in a new window; if false, you should display the URL contents in the current window.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help